package HomeWork.store.inter;

public interface Send {
    static void send(Send send, String path) {
        String name = null;
        if (send instanceof Aliyun a){
            name = a.getName();
        }
        if (send instanceof QINiuYun q){
            name = q.getName();
        }
        System.out.println("将本地文件[" + path + "]上传到" + name + "平台上");
    }
}
